unit Dock;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs;

type
  TDockF = class(TForm)
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure FormActivate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  DockF: TDockF;
  DLLApp: TApplication;
  DLLScr: TScreen;
  ProgDir: string;

implementation

{$R *.dfm}

procedure TDockF.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  Action := caFree;
  {Screen := DLLScr;
  Application := DLLApp;}
end;

procedure TDockF.FormActivate(Sender: TObject);
begin
  Application.MainForm.Caption := Application.MainForm.Caption + ' - ' + DockF.Caption;
end;

end.
